Skip to content

Say at startup when there is no pen or touchscreen - #80

Merged
marcosqlbi merged 1 commit into
mainfrom
feature/no-digitizer-notice
Aug 29, 2026
Merged

Say at startup when there is no pen or touchscreen#80
marcosqlbi merged 1 commit into
mainfrom
feature/no-digitizer-notice

Conversation

@marcosqlbi

Copy link
Copy Markdown
Collaborator

SQLBI Whiteboard is built for a pen or a finger. On a computer with neither there
is nothing to draw with, which is worth saying rather than leaving someone to
work out why the pen tools do nothing.

NoDigitizerWindow appears at startup when Windows reports neither a pen tablet
nor a touchscreen. It reads the same Tablet.TabletDevices list the Finger
drawing setting already uses, so the two agree about what counts as a pen. The
notice says what is missing, that a mouse pans, zooms and moves containers but
cannot draw, and links to
discussion 78 for
anyone who wants to vote for mouse-only drawing. The application opens either
way — refusing to start would be worse than saying what is absent.

Dismissable, for two reasons

That tablet list is a list of digitizers rather than an answer about what is
plugged in right now, so a pen that has never been brought into range can be
missing from it. A false positive is therefore possible, and on a genuinely
mouse-only machine the notice would otherwise appear at every launch.

So it carries its own Do not show this again, which writes
AppSettings.WarnWhenNoDigitizer and saves immediately, and the same switch is a
Startup row in Preferences so it can be turned back on. Settings version 11 →
12; covered by smoke tests for the default and for the round trip.

README, the guide's list of what Preferences holds, and the site FAQ answer for
"do I need a pen?" are updated to match.

Version 1.1.5. Release build clean with TreatWarningsAsErrors, smoke tests pass.

🤖 Generated with Claude Code

SQLBI Whiteboard is built for a pen or a finger, and on a computer with
neither there is nothing to draw with - which is worth saying rather than
leaving someone to work out why the pen tools do nothing.

NoDigitizerWindow appears once at startup when Windows reports neither a
pen tablet nor a touchscreen, reading the same tablet list the Finger
drawing setting already uses so the two agree on what counts as a pen. It
says what is missing, that a mouse pans, zooms and moves containers but
cannot draw, and links to discussion 78 for anyone who wants to vote for
mouse-only drawing. The application opens either way.

That tablet list is a list of digitizers rather than an answer about what
is plugged in, so a pen that has never been brought into range can be
missing from it. The notice therefore carries its own "Do not show this
again", and the same switch is a Startup row in Preferences so it can be
turned back on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@marcosqlbi
marcosqlbi merged commit 8f01ebd into main Aug 29, 2026
4 checks passed
@marcosqlbi
marcosqlbi deleted the feature/no-digitizer-notice branch August 29, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant